let data1=[['name','age'],['小米','2'],['tom','8']]
for(var i=0;i<data1[0].length;i++){
        let gg=[];
        gg[i]=data1[0][i];
    for(var j=1;j<data1.length;j++){
        let hh={};
        hh[gg[i]]=data1[i][j];
    }
}
console.log('添加的东西');